home *** CD-ROM | disk | FTP | other *** search
- Path: express2.ior.com!usenet
- From: clin@xn-tech.com
- Newsgroups: comp.os.ms-windows.programmer.tools.mfc,comp.lang.c++
- Subject: Unresolved external "_printf" in Visual C++ 1.52
- Date: 10 Feb 1996 21:38:03 GMT
- Organization: Internet On-Ramp, Inc.
- Message-ID: <4fj37r$l54@express2.ior.com>
- Reply-To: clin@xn-tech.com
- NNTP-Posting-Host: cs3-11.ior.com
- X-Newsreader: IBM NewsReader/2 v1.09
-
- Hello there,
-
- This may be a dumb question, but please help.
-
- I pasted some old, tested C codes to my C++ program. I got the following linker error
-
- error L2029: '_printf' : unresolved external
-
- In my program, I have include these libraries:
-
- extern "C" {
- #include <dos.h>
- #include <conio.h>
- #include <ctype.h>
- #include <stdlib.h>
- #include <string.h>
- #include <stdio.h>
- #include <bios.h>
- }
-
- I will appreciate your help.
-
- Charles Lin
-
-